﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace com.drsofts.age.pluginsdk.utils
{
    public class Tools
    {

        public static String BaseUrl
        {
            get
            {
                HttpContext context = HttpContext.Current;
                String baseUrl = context.Request.Url.Scheme + "://" + context.Request.Url.Authority+context.Request.ApplicationPath.TrimEnd(new char[] { '/' }) + "/";
                return baseUrl;
            }
        }
    }
}
